package top.burning.confidant.model.pojo;

import java.util.Date;

/**
 * 收藏表
 * @author tell
 */
public class Collection {
    /**
     * 自增主键
     */
    private Integer id;
    /**
     * 收藏 id，具有唯一性
     */

    private Integer collectionId;

    /**
     *用户 id 做外键
     */
    private Integer cUserId;
    /**
     *书 id 做外键
     */

    private Integer cBookId;

    /**
     * 创建时间，需用户输入（无此功能则无需理会）
     */
    private Date createTime;

    /**
     *  数据更改或者更新时间，时间获取系统当前时间
     */
    private Date updataTime;

    /**
     * 创建操作人员
     */
    private String createPeople;

    /**
     * 修改操作人员
     */
    private String delPeople;

    /**
     * 逻辑删除值，建议使用 0，1 表示
     */
    private Integer delValue;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getCollectionId() {
        return collectionId;
    }


    public void setCollectionId(Integer collectionId) {
        this.collectionId = collectionId;
    }


    public Integer getcUserId() {
        return cUserId;
    }


    public void setcUserId(Integer cUserId) {
        this.cUserId = cUserId;
    }


    public Integer getcBookId() {
        return cBookId;
    }


    public void setcBookId(Integer cBookId) {
        this.cBookId = cBookId;
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdataTime() {
        return updataTime;
    }


    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }


    public String getCreatePeople() {
        return createPeople;
    }


    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }


    public String getDelPeople() {
        return delPeople;
    }


    public void setDelPeople(String delPeople) {
        this.delPeople = delPeople == null ? null : delPeople.trim();
    }


    public Integer getDelValue() {
        return delValue;
    }


    public void setDelValue(Integer delValue) {
        this.delValue = delValue;
    }
}